package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.StrategyTheme;
import cn.wolfcode.luowowo.article.query.StrategyThemeQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyThemeService {
    /**
     * 查询StrategyTheme的分页对象
     * @param qo
     * @return
     */
    PageInfo query(StrategyThemeQuery qo);

    /**
     * 保存或者新增strategyTheme对象
     * @param strategyTheme
     */
    void saveOrUpdate(StrategyTheme strategyTheme);

    /**
     * 根据id删除攻略
     * @param id
     */
    void delete(Long id);

    /**
     * 查询所有的攻略
     */
    List<StrategyTheme> selectAll();
}
